package com.cpkso.buss.backend.trade.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author wrzhxy@qq.com
 * @date 2018年5月12日
 * 
 * 在列表展示的详情
 */
public class StatisticsListVo {
	// 单条记录
	private List<StatisticsItemVo> items = new ArrayList<>();
	// 统计结果
	// 总差价
	private Double totalPrice;
	// 公司总收入
	private Double totalIncome;
	// 日期
	private Date beginDate;
	private Date endDate;
	
	public StatisticsListVo() {
	}
	public StatisticsListVo(Double totalPrice, Double totalIncome) {
		this.totalPrice = totalPrice;
		this.totalIncome = totalIncome;
	}
	public StatisticsListVo(List<StatisticsItemVo> items, Double totalPrice, Double totalIncome, Date beginDate,
			Date endDate) {
		this.items = items;
		this.totalPrice = totalPrice;
		this.totalIncome = totalIncome;
		this.beginDate = beginDate;
		this.endDate = endDate;
	}
	public List<StatisticsItemVo> getItems() {
		return items;
	}
	public void setItems(List<StatisticsItemVo> items) {
		this.items = items;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Double getTotalIncome() {
		return totalIncome;
	}
	public void setTotalIncome(Double totalIncome) {
		this.totalIncome = totalIncome;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
}
